package com.itheima.apis.admin;


import com.itheima.model.common.admin.dtos.SensitivesDto;
import com.itheima.model.common.admin.pojos.AdSensitives;
import com.itheima.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
@Api(value = "敏感词管理",tags = "senstives",description = "敏感词管理API")
public interface AdsenstivesControllerApi {
    @ApiOperation("查找敏感词")
    public ResponseResult findbyNameAndPage(SensitivesDto sensitivesDto);
    @ApiOperation("添加敏感词")
    public ResponseResult insert(AdSensitives adSensitives);
    @ApiOperation("修改敏感词")
    public ResponseResult update(AdSensitives adSensitives);
    @ApiOperation("删除敏感词")
    public ResponseResult deleteById(Integer id);
}
